package com.tpyule.tpclass.entity.pojo;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author zzz
 * @version 1.0
 * @date 2020/4/16 11:00
 */
public class Note {
    private String noteId;
    private String userId;
    private String courseId;
    private String sectionId;
    private String content;
    // 是否截图： 0不截图 1截图
    private int screenShot;
    // 截图时 视频时间（单位毫秒）
    private int videoTime;
    //截图的url
    private String screenUrl;
    private String createTime;
    // 是否删除 0 已删除 1未删除
    private int remove;
    // 是否转发别人的笔记 0否 1是
    private int forward;
    // 被转发人ID
    private String forwardUserId;
    // 被转发人昵称
    private String forwardUserNickname;

    private String forwardNoteId;
    private int view;

    private int star;

    public Note() {
        this.screenShot = 0;
        this.createTime = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date());
        this.remove = 1;
        this.forward = 0;
    }

    public String getNoteId() {
        return noteId;
    }

    public void setNoteId(String noteId) {
        this.noteId = noteId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getCourseId() {
        return courseId;
    }

    public void setCourseId(String courseId) {
        this.courseId = courseId;
    }

    public String getSectionId() {
        return sectionId;
    }

    public void setSectionId(String sectionId) {
        this.sectionId = sectionId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getScreenShot() {
        return screenShot;
    }

    public void setScreenShot(int screenShot) {
        this.screenShot = screenShot;
    }

    public int getVideoTime() {
        return videoTime;
    }

    public void setVideoTime(int videoTime) {
        this.videoTime = videoTime;
    }

    public String getScreenUrl() {
        return screenUrl;
    }

    public void setScreenUrl(String screenUrl) {
        this.screenUrl = screenUrl;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public int getRemove() {
        return remove;
    }

    public void setRemove(int remove) {
        this.remove = remove;
    }

    public int getForward() {
        return forward;
    }

    public void setForward(int forward) {
        this.forward = forward;
    }

    public String getForwardUserId() {
        return forwardUserId;
    }

    public void setForwardUserId(String forwardUserId) {
        this.forwardUserId = forwardUserId;
    }

    public String getForwardUserNickname() {
        return forwardUserNickname;
    }

    public void setForwardUserNickname(String forwardUserNickname) {
        this.forwardUserNickname = forwardUserNickname;
    }

    public String getForwardNoteId() {
        return forwardNoteId;
    }

    public void setForwardNoteId(String forwardNoteId) {
        this.forwardNoteId = forwardNoteId;
    }

    public int getView() {
        return view;
    }

    public void setView(int view) {
        this.view = view;
    }

    public int getStar() {
        return star;
    }

    public void setStar(int star) {
        this.star = star;
    }
}
